import 'package:flutter_dwh5/utils/dio_http.dart';

class Api {
  //登录
  static LoginAPI([param]) async {
    var res = await DioUtils.postHttp('login/login', data: param);
    return res;
  }

  //个人中心数据
  static UserAPI([param]) async {
    var res = await DioUtils.getHttp('user/index');
    return res;
  }
}
